home *** CD-ROM | disk | FTP | other *** search
- Path: news1.h1.usa.pipeline.com!usenet
- From: grantp@usa.pipeline.com
- Newsgroups: comp.lang.c++
- Subject: Typedefs (was Re: Hungarian Notation
- Date: 21 Jan 1996 18:24:56 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4du0do$2q9@news1.usa.pipeline.com>
- NNTP-Posting-Host: pipe11.h1.usa.pipeline.com
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete)
- X-Newsreader: Pipeline USA v3.3.0
-
- (I'm eliminating the other newsgroups from this thread
- since the subject matter is primarily for C/C++ crowd.)
- Kazimir Kylhelky wrote:
-
- >........ I avoid typedefs like the plague, even for structures. I
- >much rather write the longer form.
- >
- > void myfunction(struct whatever *x);
- >
-
- Typedef, like any other language feature, is a tool. A tool
- can be overused as well as underused. Noone can say
- precisely how much a tool should be used, but avoiding
- its use altogether IMO falls in the underused category.
-
- I propose that a programmer who uses only a subset of
- the language is less efective than one who uses the
- all of it -- all else being equal.
-
- --
- Pete Grant
- Kalevi, Inc.
- Object Oriented Software Development
-